package com.huyiyu.dbproject.dto;

public class StudentDetail {
  private int Sno;
  private String Sname;
  private String Sclass;
  private float ISgrade;
  private float IBonus;
  private float CSgrade;
  private float CBonus;

  public StudentDetail() {
  }

  public StudentDetail(int sno, String sname, String sclass, float ISgrade, float IBonus, float CSgrade, float CBonus) {
    Sno = sno;
    Sname = sname;
    Sclass = sclass;
    this.ISgrade = ISgrade;
    this.IBonus = IBonus;
    this.CSgrade = CSgrade;
    this.CBonus = CBonus;
  }

  public int getSno() {
    return Sno;
  }

  public void setSno(int sno) {
    Sno = sno;
  }

  public String getSname() {
    return Sname;
  }

  public void setSname(String sname) {
    Sname = sname;
  }

  public String getSclass() {
    return Sclass;
  }

  public void setSclass(String sclass) {
    Sclass = sclass;
  }

  public float getISgrade() {
    return ISgrade;
  }

  public void setISgrade(float ISgrade) {
    this.ISgrade = ISgrade;
  }

  public float getIBonus() {
    return IBonus;
  }

  public void setIBonus(float IBonus) {
    this.IBonus = IBonus;
  }

  public float getCSgrade() {
    return CSgrade;
  }

  public void setCSgrade(float CSgrade) {
    this.CSgrade = CSgrade;
  }

  public float getCBonus() {
    return CBonus;
  }

  public void setCBonus(float CBonus) {
    this.CBonus = CBonus;
  }

  @Override
  public String toString() {
    return "StudentDetail{" +
            "Sno=" + Sno +
            ", Sname='" + Sname + '\'' +
            ", Sclass='" + Sclass + '\'' +
            ", ISgrade=" + ISgrade +
            ", IBonus=" + IBonus +
            ", CSgrade=" + CSgrade +
            ", CBonus=" + CBonus +
            '}';
  }
}
